class Car:
    def __init__(self):
        self.color = "⿊⾊"
        self.brand = "奥迪"
        self.year = 2023
    def describe(self):
        print("这辆⻋是⼀辆 %d 年的 %s %s ，颜⾊为 %s" % (self.year, self.brand,self.model, self.color))
car1 = Car()
car1.model = "Q7" # 为对象⼿动添加⼀个属性
car1.describe()